package com.endbd.purchase.manage.type.dao;

import com.endbd.feignapi.model.purchase.CType;
import com.endbd.purchase.manage.type.model.TypeCondition;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ITypeDao {


    public List<CType> queryTypeCondition(TypeCondition tcon);

    public void addType(CType type);

    public void alterType(CType type);

    public List<String> typeName(TypeCondition tcon);

    public void logType(Integer typeId);

    public void recoveryType(Integer typeId);
}
